package com.liming.cartype.api.biz;

import com.liming.cartype.api.persistence.impl.CarTypeBeanImpl;

import java.util.List;

/**
 * Created by Administrator on 14-4-29.
 */
public interface ICarTypeService {
    CarTypeBeanImpl addCarType(CarTypeBeanImpl message);

    CarTypeBeanImpl updateCarType(CarTypeBeanImpl message);

    CarTypeBeanImpl putCarType(CarTypeBeanImpl message);

    CarTypeBeanImpl findCarType(String id);

    void deleteCarType(String id);

    List<CarTypeBeanImpl> getAllCarType();

    String getAttachmentUrl(CarTypeBeanImpl message, String fileName);

    void destroy();
}
